var http = require('http')

var server = http.createServer()
server.on('request', function (request, response) {
	console.log('method', request.method);

	response.end('hello')
})

server.listen(8001, function () {});